package com.angenela.imageshare.dto;

import com.angenela.imageshare.pojo.StarAndUser;
import com.angenela.imageshare.pojo.UserAndImage;

import java.util.List;

public class UserAndImageDTO {

    private List<UserAndImage> data;
    private Integer code;
    private String message;

    @Override
    public String toString() {
        return "UserAndImageDTO{" +
                "data=" + data +
                ", code=" + code +
                ", message='" + message + '\'' +
                '}';
    }

    public List<UserAndImage> getData() {
        return data;
    }

    public void setData(List<UserAndImage> data) {
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
